
ac.skill('拔刀斩'){
    temp = '攻击触发',
    model1 = [[696.mdl]],
    model2 = [[433.mdl]],
    on_shot = function(self,target,model,area,size,count)
        local hero = self.owner
        local point = target:get_point()
        local angle = hero:get_facing()
        local damage = self:dmg_get()
        point:effect{
            model = model,
            angle = angle,
            size = size,
            time = 0.5,
        }
        ac.wait(100,function()
            --ac.hint_white(point,area,5)
            hero:sector_damage(point,area,angle,180,damage,self,function(u)
                if count==2 then
                    u:add_buff '晕眩'{time = 0.5}
                end
            end)
        end)
    end,
    on_run = function(self,hero,target)
        self:on_shot(target,self.model1,250,1,1)
        ac.wait(500,function()
            self:on_shot(target,self.model2,500,0.5,2)
        end)
    end,
}
